<?php
namespace app\test\controller;

class Index
{
    public function index()
    {
        $amino_locations = [
            ['single'=>'A','full'=>'A'],
            ['single'=>'C','full'=>'C'],
            ['single'=>'D','full'=>'D'],
            ['single'=>'E','full'=>'E'],
            ['single'=>'F','full'=>'F'],
            ['single'=>'G','full'=>'G'],
            ['single'=>'A','full'=>'A'],
            ['single'=>'C','full'=>'C'],
            ['single'=>'D','full'=>'D'],
            ['single'=>'E','full'=>'E'],
            ['single'=>'F','full'=>'F'],
            ['single'=>'G','full'=>'G'],
            ['single'=>'A','full'=>'A'],
            ['single'=>'C','full'=>'C'],
            ['single'=>'D','full'=>'D'],
            ['single'=>'E','full'=>'E'],
            ['single'=>'F','full'=>'F'],
            ['single'=>'G','full'=>'G'],
            ['single'=>'A','full'=>'A'],
            ['single'=>'C','full'=>'C'],
            ['single'=>'D','full'=>'D'],
            ['single'=>'E','full'=>'E'],
            ['single'=>'F','full'=>'F'],
            ['single'=>'G','full'=>'G']
        ];

        $amino_keys = array_keys($amino_locations);
        for($index=7; $index<=7; $index++){
            $key_result = combine($amino_locations, $index, 10000);
            var_dump(count($key_result));
        }

        /*
        $amino_locations_result = [];
        foreach ($key_result as $keys){
            $data = [];
            foreach ($keys as $k){
                array_push($data, $amino_locations[$k]);
            }
            array_push($amino_locations_result, $data);
        }*/

       // dump($key_result);

        //echo $compile_number;

        //$this->myPrint($flags);

    }

}
